<html>
  <title>orientation test</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  </head>
  <body>
    <script type="text/javascript">
      var testnumber = 1;

      window.addEventListener('orientationchange', function() {
        var elt = document.getElementById('orientation');
        elt.innerHTML = 'orientation change ' + testnumber;
        testnumber++;
      });

    </script>
    <div id='orientation'>
    </div>
  </body>
</html>
